package com.wyg.epcommonbase.common.util;

import java.util.List;

/**
 * @Author: WangYongGan
 * @Date: 2022/5/17 2:14
 * @Description:
 */
public class StringUtil {
    public static String trimList(List<?> list) {
        StringBuilder sb = new StringBuilder();
        for (Object o : list) {
            sb.append(o);
            sb.append(",");
        }
        return sb.substring(0, sb.length() - 1);
    }
}
